/**
 * 
 */
package org.statewalker.fsm.providers;

/**
 * @author kotelnikov
 */
public class FsmTransitionsConst<SK, EK> {

    protected SK fFinalStateKey;

    protected SK fInitialStateKey;

    protected EK fRootEventKey;

    /**
     * @param initialStateKey
     * @param finalStateKey
     * @param rootEventKey
     */
    public FsmTransitionsConst(
        SK initialStateKey,
        SK finalStateKey,
        EK rootEventKey) {
        fInitialStateKey = initialStateKey;
        fFinalStateKey = finalStateKey;
        fRootEventKey = rootEventKey;
    }

    /**
     * @see org.statewalker.fsm.providers.FsmTransitionsConst#getFinalStateKey()
     */
    public SK getFinalStateKey() {
        return fFinalStateKey;
    }

    /**
     * @see org.statewalker.fsm.providers.FsmTransitionsConst#getInitialStateKey()
     */
    public SK getInitialStateKey() {
        return fInitialStateKey;
    }

    public EK getRootEventKey() {
        return fRootEventKey;
    }

}
